import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'

export default defineUniPages({
  pages: [],
  homePage: 'pages/home/index',
  globalStyle: {
    backgroundColor: '@bgColor',
    backgroundColorBottom: '@bgColorBottom',
    backgroundColorTop: '@bgColorTop',
    backgroundTextStyle: '@bgTxtStyle',
    navigationBarBackgroundColor: '#000000',
    navigationBarTextStyle: '@navTxtStyle',
    navigationBarTitleText: 'uView Pro',
    navigationStyle: 'custom',
  },
  subPackages: [],
  tabBar: {
    color: '#999999',
    selectedColor: '#007AFF',
    backgroundColor: '#ffffff',
    borderStyle: 'black',
    list: [
      {
        pagePath: 'pages/home/index',
        text: '首页',
        // iconPath: 'static/logo.png',
        selectedIconPath: 'static/logo.png',
      },
      {
        pagePath: 'pages/http/http',
        text: 'HTTP测试',
        // iconPath: 'static/logo.png',
        selectedIconPath: 'static/logo.png',
      },
      {
        pagePath: 'pages/login/login',
        text: '登录',
        // iconPath: 'static/vite.png',
        selectedIconPath: 'static/vite.png',
      },
    ],
  },
})
